/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.bgate.core;

import javax.microedition.lcdui.Graphics;

/**
 *
 * @author thinhnv
 */
public abstract class GameObject {

    public int boxWidth;
    public int boxHeight;
    public int x;
    public int y;

    public abstract void setPosition(int x, int y);

    public abstract int getX();

    public abstract int getY();

    public abstract int getBoxWidth();

    public abstract int getBoxHeight();

    public abstract void setBoxSize(int boxWidth, int boxHeight);

    public abstract void move(int dx, int dy);
    
    public abstract void paint(Graphics g);

    public abstract void nextFrame();

    public abstract void setFrame(int index);

    public abstract int getFrame();

    public abstract void dispose();

}
